package com.example.project.entity;

import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
//对应jxc_protect_order
@Data
public class Aggregation {
    private Integer id;
    private Integer typeid;
    private String name;
    private Integer number;
    private String price;
    private String creater;
    private String createrid;
    private String adminid;
    private Integer ordertype;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createdate;
    private Integer status;
    private String reason;

    Material material;
    Product product;
    User user;

}
